<template>
  <el-container>
    <el-header>
      <div>
        <strong style="align: 10 auto">vueAdmim权限管理</strong>
        <header-item></header-item>
      </div>
    </el-header>
    <el-container>
      <el-aside width="200px">
        <side-menu></side-menu>
      </el-aside>
      <el-container>
        <el-main>
          <tabs></tabs>
          <div class="main_view">
            <router-view></router-view>
          </div>
        </el-main>
      </el-container>
    </el-container>
  </el-container>
</template>
<script>
import HeaderItem from './layout/HeaderItem.vue'
import SideMenu from './layout/SideMenu'
import Index from './Index'
import Tabs from './layout/Tabs.vue'
export default {
  name: 'Home',
  components: { Index, SideMenu, HeaderItem, Tabs },
  props: {},
  data() {
    return {}
  },
  created() {},
  methods: {},
  watch: {},
  computed: {},
  mounted() {},
}
</script>
<style scoped>
.el-container {
  padding: 0;
  margin: 0;
  height: 100%;
}
/**
  router-link 下划线设置
*/
a {
  text-decoration: none;
}
/* 头部样式 */
.header-avater {
  float: right;
  width: 230px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.el-dropdown-link {
  cursor: pointer;
  color: #409eff;
}
/* 布局样式 */
.el-header,
.el-footer {
  background-color: #ddebff;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  text-align: center;
  line-height: 200px;
}

.el-main {
  padding: 0;
}
.main_view {
  margin: 0 15px;
}
body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>